package cn.edu.tjut.seriver.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.edu.tjut.bean.AdminBean;
import cn.edu.tjut.dao.AdminDao;
import cn.edu.tjut.seriver.AdminService;

@Service("AdminInfoService")
public class AdminInfoService implements AdminService {
	@Resource
	private AdminDao adminDao;

	@Override
	public AdminBean selectByAdminAccount(String adminAccount) {
		// 根据账号查询管理员信息
		return adminDao.selectByAdminAccount(adminAccount);
	}

}
